package com.zp.master.common.utils;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class ResultUtil<T> implements Serializable {

    private String code; // 返回代码
    private String vime; //前台返回字符串
    private Map<String, List<T>> dataMap; //前台返回Map
    private List<T> DataList; //前台返回List
    private T data; //前台返回对象属性
    private Map<String, T> dataMapEnt; //前台返回实体


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getVime() {
        return vime;
    }

    public void setVime(String vime) {
        this.vime = vime;
    }

    public Map<String, List<T>> getDataMap() {
        return dataMap;
    }

    public void setDataMap(Map<String, List<T>> dataMap) {
        this.dataMap = dataMap;
    }

    public List<T> getDataList() {
        return DataList;
    }

    public void setDataList(List<T> dataList) {
        DataList = dataList;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Map<String, T> getDataMapEnt() {
        return dataMapEnt;
    }

    public void setDataMapEnt(Map<String, T> dataMapEnt) {
        this.dataMapEnt = dataMapEnt;
    }
}
